package com.example.util.excel;

import java.util.Date;

public class ExcelTest {


    @Excel(name = "ID", type = Excel.Type.EXPORT)
    private String id;
    @Excel(name = "CODE", type = Excel.Type.EXPORT)
    private String code;
    @Excel(name = "NUM", suffix = "%")
    private String num;
    @Excel(name = "CREATETIME", type = Excel.Type.EXPORT, dateFormat = "yyyy-MM-dd HH")
    private Date createTime;
    @Excel(name = "SEX", readConverterExp = "0=男,1=女,2=未知")
    private String sex;
    @Excel(name = "STATUS", combo = {"0", "1", "2"})
    private String status;


    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public String getNum() {
        return num;
    }

    public void setNum(String num) {
        this.num = num;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public String getSex() {
        return sex;
    }

    public void setSex(String sex) {
        this.sex = sex;
    }

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status;
    }
}
